const app = getApp();

Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {
    tabList: [],
    currentIndex:0
  },
  created(){
  },
  methods: {
    swtichTap(e){
      let path = e.currentTarget.dataset.path;
      wx.switchTab({
        url: path,
      })
    }
  }
})
